# coding=utf-8
from constant import *

# 这里定义程序用到的json结构

# Batch表 extend_info
TEMP_DATA_EXTEND = {
    # 任务数据
    'batch_info': {
            'sub_data_set_id': 0,
            'new_data': 0,
            'abnormal_data': 0,
            'count': {
                GEO_LAYER_BRIDGE: 0,
                GEO_LAYER_BUILDING: 0,
                GEO_LAYER_CULVERT: 0,
                GEO_LAYER_DECELERATION: 0,
                GEO_LAYER_DELINEATER: 0,
                GEO_LAYER_GUARDBAR: 0,
                GEO_LAYER_ILLUMINATION: 0,
                GEO_LAYER_LANDUSE: 0,
                GEO_LAYER_ROADLINE: 0,
                GEO_LAYER_ROADPOLYGON: 0,
                GEO_LAYER_ROADSIGN: 0,
                GEO_LAYER_TREELAWN: 0,
                GEO_LAYER_TUNNEL: 0,
                GEO_LAYER_WATER: 0
            }
    }
    # 审核数据
    # 'audit_info': {
    #             'sub_data_set_id': 0,
    #             'new_data': 0,
    #             'modify_data': 0,
    #             'delete_data': 0,
    #             'abnormal_data': 0,
    #             'count': {
    #                 GEO_LAYER_BRIDGE: 0,
    #                 GEO_LAYER_BUILDING: 0,
    #                 GEO_LAYER_CULVERT: 0,
    #                 GEO_LAYER_DECELERATION: 0,
    #                 GEO_LAYER_DELINEATER: 0,
    #                 GEO_LAYER_GUARDBAR: 0,
    #                 GEO_LAYER_ILLUMINATION: 0,
    #                 GEO_LAYER_LANDUSE: 0,
    #                 GEO_LAYER_ROADLINE: 0,
    #                 GEO_LAYER_ROADPOLYGON: 0,
    #                 GEO_LAYER_ROADSIGN: 0,
    #                 GEO_LAYER_TREELAWN: 0,
    #                 GEO_LAYER_TUNNEL: 0,
    #                 GEO_LAYER_WATER: 0
    #             }
    #     },
}

GIS_SRID = {
    4326: 'wgs84',
    3857: 'webMercator',
    -1: 'gcj02'
}